package com.sl.au.entity;

import javax.persistence.*;

/**
 * 单泵价格实体表
 */
@Entity
@Table(name = "sl_crm_singlePump")
public class SinglePump extends Root {
	/** 主机 */
	@ManyToOne
	@JoinColumn(name = "device_id") // 加入一列作为外键
	private Device device;
	
	/** 主机型号 */
	@Column(name = "sType")
	private String type;

	/** 所属部门 */
	@Column(name = "sSuperior")
	private String superior;
	
	/** 价格 */
	@Column(name = "nPrice")
	private Float price;
	
	/** 备注 */
	@Column(name = "sMemo")
	private String memo;
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Device getDevice() {
		return device;
	}

	public void setDevice(Device device) {
		this.device = device;
	}

	public String getSuperior() {
		return superior;
	}

	public void setSuperior(String superior) {
		this.superior = superior;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}
